<template>
  <div class="app-container">
    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <span>员工详情</span>
      </div>
      <!-- 标签页 -->
      <el-tabs v-model="activeName">
        <el-tab-pane label="登录账户设置" name="first"> <EmpAccount> </EmpAccount></el-tab-pane>
        <el-tab-pane label="个人详情" name="second"> <Personaldetail> </Personaldetail></el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script>
import EmpAccount from './components/EmpAccount.vue'
import Personaldetail from './components/Personaldetail.vue'
export default {
  name: 'EmpInfo',
  components: {
    EmpAccount,
    Personaldetail
  },
  data() {
    return {
      activeName: 'second'
    }
  }
}
</script>

<style lang="less" scoped></style>
